|
Foxit PDF SDK
|
Inherits FoxitPDFSDKPython3._object.
Public Member Functions | |
| def | IsImageIgnored (image_object) |
| A callback function used to determine whether an image object should be excluded from OCR text recognition. More... | |
| def | NeedToCancelNow (info) |
| A callback function used to cancel current OCR progress. More... | |
This class represents a callback object to cancel OCR progress. All the pure virtual functions in this class are used as callback functions and should be implemented by user. An implemented OCRCallback object can be set by function FoxitPDFSDKPython3.OCREngine.SetOCRCallback .
| def FoxitPDFSDKPython3.OCRCallback.IsImageIgnored | ( | image_object | ) |
A callback function used to determine whether an image object should be excluded from OCR text recognition.
| [in] | image_object | A pointer to an FoxitPDFSDKPython3.ImageObject object. |
| def FoxitPDFSDKPython3.OCRCallback.NeedToCancelNow | ( | info | ) |
A callback function used to cancel current OCR progress.
This function cannot be used to cancel OCR conversion.
| [in] | info | A string that describes the OCR progress information. |